package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;

import java.util.Date;

@FieldTypeAnnotation(tableName = "t_l_ck_great_trade_skill_upgrade", autoSave = true,uploadCk = true,desc = "大商途-美人技能升级日志")
public class LogGreatTradeSkillUpgrade extends ServerBaseLog{

    @FieldTypeAnnotation(desc = "用户ID",isIndex = true)
    private long userId;
    @FieldTypeAnnotation(desc = "活动ID",isIndex = true)
    private int activityId;
    @FieldTypeAnnotation(desc = "技能id")
    private int skillId;
    @FieldTypeAnnotation(desc = "变更前技能")
    private int beforeLv;
    @FieldTypeAnnotation(desc = "变更后技能")
    private int afterLv;
    @FieldTypeAnnotation(desc = "变更原因：1：美名；2：继承点")
    private int reason;
    @FieldTypeAnnotation(desc = "消耗")
    private String consume;
    @FieldTypeAnnotation(desc = "开局场次")
    private int times;

    public LogGreatTradeSkillUpgrade(long userId, int activityId, int skillId, int beforeLv, int afterLv, int reason, String consume, int times) {
        this.userId = userId;
        this.activityId = activityId;
        this.skillId = skillId;
        this.beforeLv = beforeLv;
        this.afterLv = afterLv;
        this.reason = reason;
        this.consume = consume;
        this.times = times;
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public int getActivityId() {
        return activityId;
    }

    public void setActivityId(int activityId) {
        this.activityId = activityId;
    }

    public int getSkillId() {
        return skillId;
    }

    public void setSkillId(int skillId) {
        this.skillId = skillId;
    }

    public int getBeforeLv() {
        return beforeLv;
    }

    public void setBeforeLv(int beforeLv) {
        this.beforeLv = beforeLv;
    }

    public int getAfterLv() {
        return afterLv;
    }

    public void setAfterLv(int afterLv) {
        this.afterLv = afterLv;
    }

    public int getReason() {
        return reason;
    }

    public void setReason(int reason) {
        this.reason = reason;
    }

    public String getConsume() {
        return consume;
    }

    public void setConsume(String consume) {
        this.consume = consume;
    }

    public int getTimes() {
        return times;
    }

    public void setTimes(int times) {
        this.times = times;
    }

}
